<div class="grid-wrap">
    <table data-id="grid"></table>
</div>
<div data-id="nsdb" class="nsdb">
    <%--<shiro:hasPermission name="message:data:add">--%>
    <a data-href="${pageContext.request.contextPath}/app/api/message/toAdd"
       data-key="add" data-options="iconCls:'fa fa-plus fa-lg'" plain="true">发送消息</a>
    <%--</shiro:hasPermission>--%>
    <%--<shiro:hasPermission name="message:data:delete">--%>
    <a data-href="${pageContext.request.contextPath}/app/api/messageManagedeleteMessages" data-key="del" data-options="iconCls:'fa fa-trash fa-lg'" plain="true">删除</a>
    <%--</shiro:hasPermission>--%>
    <a data-href="${pageContext.request.contextPath}/app/api/message/toSearch" data-key="search" iconCls="fa fa-search fa-lg" plain="true">搜索</a>
    <a data-href="#" data-key="search_all" iconCls="fa fa-refresh fa-lg" plain="true">搜索全部</a>
</div>
<div data-id="template">
    <a data-href="${pageContext.request.contextPath}/app/api/message/toRange" data-id="{{id}}" data-key="range"
       iconCls="fa fa-search fa-lg-all" plain="true">发送范围</a>
    <a data-href='#' data-id="{{id}}" data-key="view" iconCls="fa fa-eye fa-lg" plain="true">查看</a>
</div>